from functools import reduce

s = "asdf234GDSdsf23"
print(sorted(s,key=lambda x:(x.isdigit(),x.isdigit() and int(x)%2==0,x.isupper(),x)))


n=int(input("请输入阶乘数："))
print(reduce(lambda x,y:x*y,range(1,n+1)))

print(list(filter(lambda x:x%3==0,range(1,101))))

print(list(map(lambda x:x**2,range(1,11))))

lst= [1,4,5,9]
print(str(reduce(lambda x,y:x*10+y,lst)))